package Xiancheng;

public class Prod implements Runnable
{
	private Storage stor;
	public Prod(Storage stor)
	{
		this.stor = stor;
	}

	@Override
	public void run()
	{
		while(true) 
		{
			this.stor.add();
		}
	}
}
